<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <?php $this->headTitle()->setSeparator(' - '); ?>
  <?php $this->headTitle()->append('pencas on-line'); ?>
  <?php echo $this->headTitle() ?>

  <?php $this->headLink()->appendStylesheet(auto_version('/assets/style/main.css')) ?>
  <?php  $this->headLink()->appendStylesheet(auto_version('/assets/style/comp.css')) ?>
  <?php echo $this->headLink() ?>
  
  <?php $this->headScript()->prependFile(auto_version('/assets/jslib/raphael/raphael.js')); ?>
  <?php $this->headScript()->prependFile(auto_version('/assets/jslib/jQuery/jquery.maskedinput.js')); ?>
  <?php $this->headScript()->prependFile(auto_version('/assets/jslib/jQuery/jquery.js')); ?>
  <?php echo $this->headScript() ?>
  
  <link rel="shortcut icon" href="http://static.ak.fbcdn.net/rsrc.php/z9Q0Q/hash/8yhim1ep.ico">
</head>
<body>
	<div id="header">
	    
	    <div id="header-logo"><img width="100" height="104" src="<?= auto_version('/assets/img/2010logo.png') ?>" alt="" title=""></div>
	    
	    <div id="header-title">
	        <b><?php IF(!$this->page_title): ?>Bienvenido a pencas on-line<?php ELSE:?><?= $this->page_title ?><?php ENDIF ?></b>
	    </div>
	    
	    <div id="header-navigation" style="float: right">
	        <? if(!$this->hide_menu) echo $this->partial('_commons/_menu.phtml'); ?>
	    </div>
	
	</div>
	
	<div id="main-content">
	<?php echo $this->layout()->content ?>
	</div>

</body>
</html>